package com.kws.system.service.contractTemplateService;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.common.core.domain.R;
import com.kws.system.domain.contractManagementDao.Rq.queryContractFilingRq;
import com.kws.system.domain.contractManagementDao.TbContract;
import com.kws.system.domain.contractManagementDao.info.QueryContractFilingInfo;
import com.kws.system.domain.contractManagementDao.info.QueryContractManagementInfo;

public interface ContractManagementService extends IService<TbContract> {
    R<Page<QueryContractManagementInfo>> queryContractManagementPage(Integer pageNum, Integer pageSize, String contractName, Integer type,String startDate,String endDate);

    QueryContractManagementInfo queryContractManagementById(Long id);

    boolean deleteContractManagementById(Long id);

    Page<QueryContractFilingInfo> queryContractFilingPage(queryContractFilingRq rq);

    boolean deleteContractFilingById(Long id);
}
